﻿var url = {
	// main
	getCurrentUserInfo : 'user/getCurrentUserInfo.action',
	getSystemSettings : 'system/getSystemSettings.action',
	// refreshProblemList
	getProblemList : 'problem/getProblemList.action',
	getPIDPoint : 'problem/getPIDPoint.action',
	deleteProblem : 'problem/deleteProblem.action',
	cleanProblemStatus : 'problem/cleanProblemStatus.action',
	rejudgeProblemStatus : 'problem/rejudgeProblemStatus.action',
	// refreshCtrlBox
	gotoDataStruct : 'datastruct/Index.action',
	gotoACM : 'default.action',
	doLogout : 'user/doLogout.action',
	becomeGod : 'system/becomeGod.action',
	becomeUnGod : 'system/becomeUnGod.action',
	// refreshNoticeList
	getNoticeList : 'msg/getNoticeList.action',
	deleteNotice : 'msg/deleteNotice.action',
	// showProblem:'
	showProblem : 'problem/showProblem.view',
	// addOrEditProblem:'
	getProblemCompleteInfo : 'problem/getProblemCompleteInfo.action',
	addOrEditProblem : 'problem/addOrEditProblem.view',
	getAutoPid : 'problem/getAutoPid.action',
	// showProblemStatistics
	getProblemStatistics : 'problem/getProblemStatistics.action',
	getProblemRanklist : 'problem/getProblemRanklist.action',
	// showStatus
	getStatus : 'status/getStatus.action',
	// showStatusList
	getStatusList : 'status/getStatusList.action',
	deleteStatus : 'status/deleteStatus.action',
	rejudgeStatus : 'status/rejudgeStatus.action',
	// testStatus
	getTestStatus : 'status/getTestStatus.action',
	// submitCode
	submitCode : 'status/submitCode.action',
	// showCode
	getCode : 'status/getCode.action',
	// backupCode
	inquiryBackupCode : 'status/inquiryBackupCode.action',
	getBackupCode : 'status/getBackupCode.view',
	// showLogin
	doLogin : 'user/doLogin.action',
	// showReg
	doReg : 'user/doReg.action',
	regAgreement : 'Agreement.htm',
	// showUser
	getUserInfo : 'user/getUserInfo.action',
	// editUser
	editUserInfo : 'user/editUserInfo.action',
	// showCompareUser
	getUserCompare : 'user/getUserCompare.action',
	// showUserStatistics
	getUserStatistics : 'user/getUserStatistics.action',
	// editPassword
	editUserPassword : 'user/editUserPassword.action',
	// showRanklist
	getRanklist : 'user/getRanklist.action',
	getUserRank : 'user/getUserRank.action',
	// showMsgBox
	getMsgList : 'msg/getMsgList.action',
	deleteMsg : 'msg/deleteMsg.action',
	cleanMsgBox : 'msg/cleanMsgBox.action',
	inquiryNewMsg : 'msg/inquiryNewMsg.action',
	// showMsg
	getMsg : 'msg/getMsg.action',
	// sendMsg
	sendMsg : 'msg/sendMsg.action',
	// showNotice
	getNotice : 'msg/getNotice.action',
	// addOrEditNotice
	addOrEditNotice : 'msg/addOrEditNotice.action',
	// showDiscuss
	getDiscussTree : 'msg/getDiscussTree.action',
	deleteDiscuss : 'msg/deleteDiscuss.action',
	getDiscuss : 'msg/getDiscuss.action',
	addOrEditDiscuss : 'msg/addOrEditDiscuss.action',
	getDiscussCount : 'msg/getDiscussCount.action',
	getDiscussList : 'msg/getDiscussList.action',
	// showUserList
	getUserList : 'user/getUserList.action',
	deleteUser : 'user/deleteUser.action',
	setUserDisabled : 'user/setUserDisabled.action',
	setUserAdmin : 'user/setUserAdmin.action',
	// editSettings
	editSystemSettings : 'system/editSystemSettings.action',
	// editLang
	getLangList : 'system/getLangList.action',
	getLangInfo : 'system/getLangInfo.action',
	addOrEditLangInfo : 'system/addOrEditLangInfo.action',
	deleteLang : 'system/deleteLang.action',
	// uploadFile
	uploadFile : 'system/uploadFile.action',
	// recoveryUserPassword
	recoveryUserPassword : 'user/recoveryUserPassword.action',

	// datastruct
	// experiment
	getExperimentList : 'datastruct/getExperimentList.action',
	addOrEditExperiment : 'datastruct/addOrEditExperiment.action',
	getExperimentInfo : 'datastruct/getExperimentInfo.action',
	deleteExperiment : 'datastruct/deleteExperiment.action',
	// problem
	getDSProblemList : 'datastruct/getDSProblemList.action',
	showDSProblem : 'datastruct/showDSProblem.view',
	addOrEditDSProblem : 'datastruct/addOrEditDSProblem.action',
	getDSProblemCompleteInfo : 'datastruct/getDSProblemCompleteInfo.action',
	getDSAutoPid : 'datastruct/getDSAutoPid.action',
	deleteDSProblem : 'datastruct/deleteDSProblem.action',
	// classes
	getClassList : 'datastruct/getClassList.action',
	addOrEditClass : 'datastruct/addOrEditClass.action',
	getClassInfo : 'datastruct/getClassInfo.action',
	deleteClass : 'datastruct/deleteClass.action',
	getStudentList : 'datastruct/getStudentList.action',
	importStudentList : 'datastruct/importStudentList.action',
	deleteStudent : 'datastruct/deleteStudent.action',
	cleanStudentList : 'datastruct/cleanStudentList.action',
	// status
	submitDSCode : 'datastruct/submitDSCode.action',
	canSubmitDSCode : 'datastruct/canSubmitDSCode.action',
	getDSStatusList : 'datastruct/getDSStatusList.action',
	getDSStatus : 'datastruct/getDSStatus.action',
	getDSTestStatus : 'datastruct/getDSTestStatus.action',
	getDSCode : 'datastruct/getDSCode.action',
	rejudgeDSStatus : 'datastruct/rejudgeDSStatus.action',
	deleteDSStatus : 'datastruct/deleteDSStatus.action',
	rejudgeDSProblemStatus : 'datastruct/rejudgeDSProblemStatus.action',
	cleanDSProblemStatus : 'datastruct/cleanDSProblemStatus.action',
	cmpCode : 'datastruct/cmpCode.action',
	// statistics
	uploadReport : 'datastruct/uploadReport.action',
	isReportUploaded : 'datastruct/isReportUploaded.action',
	getDSStatistics : 'datastruct/getDSStatistics.action',
	getDSCharPidSet : 'datastruct/getDSCharPidSet.action',
	packageDSCode : 'datastruct/packageDSCode.view',
	packageDSReport : 'datastruct/packageDSReport.view',
	submitPoint : 'datastruct/submitPoint.action',
	// notice
	getDSNoticeList : 'datastruct/getDSNoticeList.action',
	deleteDSNotice : 'datastruct/deleteDSNotice.action',
	getDSNotice : 'datastruct/getDSNotice.action',
	addOrEditDSNotice : 'datastruct/addOrEditDSNotice.action',
	// course design
	showCourseDesignList : 'datastruct/showCourseDesignList.action',
	deleteCourseDesign : 'datastruct/deleteCourseDesign.action',
	addOrEditCourseDesign : 'datastruct/addOrEditCourseDesign.action',
	submitCdPoint : 'datastruct/submitCdPoint.action',
	submitCourseDesign : 'datastruct/submitCd.action',
	packageCd : 'datastruct/packageCd.action',
	showCDStatistics : 'datastruct/showCDStatistics.action',
	// Contest region
	contestLogin : 'contest/contestLogin.action',
	getAutoCid : 'contest/getAutoCid.action',
	showContest : 'contest/showContest.action',	
	contestRejudgeStatus : 'contest/rejudgeStatus.action',
	showContestRanklist : 'contest/showContestRanklist.action',	
	contestProblemList : 'contest/contestProblemList.action',
	deleteContest : 'contest/deleteContest.action',
	addOrEditContest : 'contest/addOrEditContest.action',
	conAEProblem : 'contest/conAEProblem.action',
	deleteCProblem : 'contest/deleteCProblem.action',
	getCProblemCompleteInfo : 'contest/getCProblemCompleteInfo.action',
	getContestStatus : 'contest/getContestStatus.action',
	getPNumber : 'contest/getPNumber.action',
	getSolveString : 'contest/getSolveString.action',
	timeValid : 'contest/timeValid.action',
	isPlayer : 'contest/isPlayer.action',
	getAutoContestPid : 'contest/getAutoContestPid.action',
	showContestProblem : 'contest/showContestProblem.action',
	showStatistic : 'contest/showStatistic.action',
	getCProblemRanklist : 'contest/getCProblemRanklist.action',
	submitContestProblem : 'contest/submitContestProblem.action'
};

/*
 * if (sys.debug) { for (var name in url) { var str = url[name]; str =
 * str.replace('.action', '.js').replace('.view', '.html'); str = 'Json/' + str;
 * url[name] = str; } }
 */
